<?php
/*
 *  A Part of snock project
 *   Author king-of-war
 * Last modified 2009-4-4
 * Entity Class of news
 */
class news_entity{
	/*
	 * declare all variables of user table
	 */
	private $id;
	private $title;
	private $images;
	private $comments;
	private $author;
	private $date;
	private $verify;

	function set_id($id){
		$this->id=$id;
	}
	function set_title($title){
		$this->title=$title;
	}
	function set_images($images){
		$this->images=$images;
	}
	function set_comments($comments){
		$this->comments=$comments;
	}
	function set_author($author){
		$this->author=$author;
	}
	function set_date($date){
		$this->date=$date;
	}
	function set_verify($verify){
		$this->verify=$verify;
	}

	function get_id(){
		return $this->id;
	}
	function get_title(){
		return $this->title;
	}
	function get_images(){
		return $this->images;
	}
	function get_comments(){
		return $this->comments;
	}
	function get_author(){
		return $this->author;
	}
	function get_date(){
		return $this->date;
	}
	function get_verify(){
		return $this->verify;
	}


}

?>